body{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}
.quote{
    width: 1200px;
    min-height: 400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 2;
}
.quote .box
{
    position: relative;
    width: 300px;
    height: 400px;
    background: #fff;
    overflow: hidden;
    transition: 0.5s;
    z-index: 2;
    box-sizing: border-box;
    padding: 30px;
    box-shadow: -10px 25px 50px rgba(0,0,0,.2);
}
.quote .box:hover{
    box-shadow: -10px 25px 50px rgba(0,0,0,.5);
}
.quote .box p{
    padding: 20px;
    text-indent: 2em;
    margin: 0;
    padding: 0;
    font-size: 18px;
}
.quote .box:hover p{
    color: #fff;
}
.quote .box h2{
    position: absolute;
    bottom: 30px;
    right: 30px;
    margin: 0;
    padding: 0;
    font-size: 20px;
    text-transform: uppercase;
}
.quote .box:hover h2{
    color: #fff;
}

.quote .bg{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
.quote .box.box1:hover~.bg,
.quote .box.box1:hover
{
    opacity: 1;
    background: linear-gradient(#03A9F4,#E91E63);
}
.quote .box.box2:hover~.bg,
.quote .box.box2:hover
{
    opacity: 1;
    background: linear-gradient(#FFC107,#19FD36);
}

.quote .box.box3:hover~.bg,
.quote .box.box3:hover
{
    opacity: 1;
    background: linear-gradient(#FFC107,#E91E63);
}
.quote .box:before{
    content:'';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.2);
    pointer-events: none;
}


